<?php include './include/conf.php'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">

<head>
<title>Jardins familiaux de Lacroix-Falgarde : information</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="style/style.css" />
</head>

<body>
		
	<div id="global">
		<!-- header -->
		<?php include './include/header.php' ; ?>
		
		<!-- fil d'ariane et espace adhérent -->
		<p id="ariane">
			vous êtes ici : <a href="index.php">accueil</a> &gt; <a href="information.php"> adhérent </a> &gt; <a href="fluxrss.php"> fluxrss </a>
			<a id="espaceAdherent" href="connexion.php">espace adhérent</a>
		</p>	
		<!-- contenu -->
		<div id="contenu">
			<?php include('./include/menu_gauche.php'); ?>
			
			<div id="information">
			<h1> Flux rss</h1>
			
			<?php 
			
			$selectSiteFlux =$pdo->prepare('select * from fluxrssvisibles');
			$selectSiteFlux->execute();
			
			while($siteFlux =  $selectSiteFlux->fetch())
			{
				$siteFlux;
				echo '	<div class="flux" >
							<div class="entete">
								<span class="nom"><strong>'.$siteFlux->titre_flux.'</strong></span><br/>
							</div>
							<p class="description">
								<br/>
								'.$siteFlux->description.'
								<br/><br/>
								<a href="'.$siteFlux->adresse_flux.'">Accéder au flux</a>
								<span class="source">site : '.$siteFlux->site.' </span>
							</p>
							<br/>
						</div>
						<br/><br/>';
			}
			$selectSiteFlux->closeCursor();
			
			?>
			</div>
		</div> 

		<!-- footer -->
		<?php include('./include/footer.php'); ?>
	</div>
</body>
</html>
